﻿using System.Collections.Generic;
using System.Runtime.Serialization;
using NerdDinnerDataComponent;

namespace NerdDinnerWCFService
{
    [DataContract]
    public class PaginatedDinnerResultList
    {
        [DataMember]
        public DinnerDTO[] Result { get; set; }
        [DataMember]
        public int PageIndex { get; set; }
        [DataMember]
        public int PageSize { get; set; }
        [DataMember]
        public int TotalCount { get; set; }
        [DataMember]
        public int TotalPages { get; set; }
        [DataMember]
        public bool HasPreviousPage { get; set; }
        [DataMember]
        public bool HasNextPage { get; set; }

    }
   
}